package com.he.hsdyc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import tk.mybatis.spring.annotation.MapperScan;

@EnableEurekaClient
@SpringBootApplication//(scanBasePackages = {"com.he.hsdyc","com.he.hsdyc.controller.exceptionHandler"})
@MapperScan(basePackages = "com.he.hsdyc.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class FeignserverApplication {

    public static void main(String[] args) {
        SpringApplication.run(FeignserverApplication.class, args);
    }

}
